/****************************************************
 * 													*
 * 					BanzaiP2P						*
 * 													*
 * Versione: 0.1.1									*
 * Autore: D'Annessa Marco							*
 * File: bootstrap.h								*
 ****************************************************/



#include "common.h"


struct sockaddr_in addrTCP;
int sd;

//struct peer * try_connection(char *peer_file, int max_peer, int pcount);

void write_peer(char *peer_file, char *ip, int port);


struct peer{
	
	struct sockaddr_in peer_addr;
	int peersock;
	//oltre info
	char* peernick;
	
	struct peer *next;
	
};
